package com.zy.dao;
import org.beetl.sql.core.annotatoin.*;
import org.beetl.sql.core.db.KeyHolder;
import org.beetl.sql.core.engine.PageQuery;
import org.beetl.sql.core.mapper.BaseMapper;
import com.zy.entity.*;


public interface LbAppointmentDao extends BaseMapper<LbAppointment> {
    //查询患者的预约信息关系查询对应的医生
    void selectList(PageQuery<LbAppointment> page);

    //根据主键查询
    LbAppointment selectOne(@Param("id") Integer id);

    //查询当前医生的所有预约病人
    void selectListByDoctor(PageQuery<LbAppointment> page);
}